#pragma once
#include <iostream>
enum LogLevel
{
    OK = 0,
    USAGE_ERR,
    SOCKET_ERR, 
    BIND_ERR, 
    LISTEN_ERR,
    ACCEPT_ERR,
    CONNECT_ERR
};

class Nocopy
{
public:
    Nocopy(){}

    ~Nocopy(){}

    Nocopy(const Nocopy& ncp) = delete;

    const Nocopy& operator=(const Nocopy& ncp) = delete;
};

#define CONV(addr) ((struct sockaddr*)&addr)